package com.koron.operation.census.mapper;

import com.koron.operation.census.bean.IntactRateBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IntactRateBeanMapper {
    int deleteByPrimaryKey(String id);

    int insert(IntactRateBean record);

    int insertSelective(IntactRateBean record);

    IntactRateBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(IntactRateBean record);

    int updateByPrimaryKey(IntactRateBean record);

    int batchInsert(@Param("list") List<IntactRateBean> list);

    // 根据年份、季度
    List<IntactRateBean> queryByYearAndQuarter(@Param("year") Integer year, @Param("quarter") Integer quarter);
}
